[paket]
tanim   = Linux çekirdeği paket filtreleme ve kontrol aracı
paketci = milisarge
grup 	= temel
url     = http://www.iptables.org

[gerek]
derleme = libnftnl libmnl
calisma = libnftnl libmnl

[kaynak]
bz2     = https://www.netfilter.org/projects/$isim/files
dosya   = empty.rules
dosya   = empty-filter.rules
dosya   = empty-mangle.rules
dosya   = empty-nat.rules
dosya   = empty-raw.rules
dosya   = empty-security.rules
dosya   = simple_firewall.rules

[sha256]
#1 		= a3778b50ed1a3256f9ca975de82c2204e508001fc2471238c8c97f3d1c4c12af

[derle]
betik   = rm include/linux/types.h
betik   = ./configure --prefix=/usr --libexecdir=/usr/lib --sbindir=/usr/bin --enable-libipq --disable-nftables
betik   = sed -e 's/ -shared / -Wl,-O1,--as-needed\0/g' -i libtool
betik   = make
	      
[pakur]
betik   = make DESTDIR=$PKG install
betik   = cd ${SRC}
betik   = install -Dm644 empty.rules "$PKG/etc/iptables/iptables.rules"
betik   = install -Dm644 empty.rules "$PKG/etc/iptables/ip6tables.rules"
betik   = install -Dt "$PKG/usr/share/iptables" -m644 *.rules
betik   = ln -srt "$PKG/etc/iptables" "$PKG"/usr/share/iptables/{empty,simple_firewall}.rules
